﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <!-- EXERCÍCIO 9 ################################################# -->

    <Transform3DGroup x:Key="Transform_Geral">
        <TranslateTransform3D OffsetX="-2"
                              OffsetY="-0.5"
                              OffsetZ="-1" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Engastamento">
        <TranslateTransform3D OffsetX="-1"
                              OffsetY="-0.5"
                              OffsetZ="-0.5" />
        <ScaleTransform3D ScaleX="0.15"
                          ScaleY="0.4"
                          ScaleZ="0.4" />
        <TranslateTransform3D OffsetX="0"
                              OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

    <!-- Easter Egg! -->
    <Transform3DGroup x:Key="Transform_EasterEgg">
        <TranslateTransform3D OffsetX="-0.5"
                              OffsetY="-0.5" />
        <ScaleTransform3D ScaleX="0.05312"
                          ScaleY="0.07504" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="-0.0001"
                              OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>
    <!-- Fim Easter Egg! -->

    <Transform3DGroup x:Key="Transform_BarraAB">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="4" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_BarraBC">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="1" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_BarraCD">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="2" />
        <TranslateTransform3D OffsetX="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_NoB">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="0.05" />
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_NoC">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="0.05" />
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_NoD">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="0.05" />
        <TranslateTransform3D OffsetX="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_ForcaC">
        <StaticResource ResourceKey="Transform_EspessuraVetor" />
        <ScaleTransform3D ScaleZ="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="-1.05"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_ForcaD">
        <StaticResource ResourceKey="Transform_EspessuraVetor" />
        <ScaleTransform3D ScaleZ="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="0.55" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_MomentoBHead">
        <StaticResource ResourceKey="Transform_CabecaMomento" />
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="1.85" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_MomentoBTail">
        <StaticResource ResourceKey="Transform_EspessuraVetor" />
        <ScaleTransform3D ScaleZ="0.5" />
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="0.85" />
    </Transform3DGroup>

    <!-- Graficos -->

    <Transform3DGroup x:Key="Transform_Grafico_NormalBC">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_CortanteAB">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="0.5" />
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_CortanteCD">
        <ScaleTransform3D ScaleX="2"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_FletorAB">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="3" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_FletorBC">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="1" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <!-- Este valor 4.001 é para evitar a sobreposição -->
        <TranslateTransform3D OffsetX="4.001"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_FletorCD">
        <ScaleTransform3D ScaleX="2"
                          ScaleY="1" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_TorcorAB">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="1" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="2" />
    </Transform3DGroup>

</ResourceDictionary>